<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UI2DSpriteEditor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i2_d_sprite_editor.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_u_i2_d_sprite_editor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UI2DSpriteEditor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Inspector class used to edit UITextures.  
 <a href="class_u_i2_d_sprite_editor.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UI2DSpriteEditor:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i2_d_sprite_editor.png" usemap="#UI2DSpriteEditor_map" alt=""/>
  <map id="UI2DSpriteEditor_map" name="UI2DSpriteEditor_map">
<area href="class_u_i_basic_sprite_editor.html" title="Inspector class used to edit UITextures. " alt="UIBasicSpriteEditor" shape="rect" coords="0,168,120,192"/>
<area href="class_u_i_widget_inspector.html" title="Inspector class used to edit UIWidgets. " alt="UIWidgetInspector" shape="rect" coords="0,112,120,136"/>
<area href="class_u_i_rect_editor.html" title="Editor class used to view UIRects. " alt="UIRectEditor" shape="rect" coords="0,56,120,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a43cca61de03dc6f8e87e7d218a1c0d05"><td class="memItemLeft" align="right" valign="top">override bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i2_d_sprite_editor.html#a43cca61de03dc6f8e87e7d218a1c0d05">HasPreviewGUI</a> ()</td></tr>
<tr class="memdesc:a43cca61de03dc6f8e87e7d218a1c0d05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow the texture to be previewed.  <a href="#a43cca61de03dc6f8e87e7d218a1c0d05">More...</a><br /></td></tr>
<tr class="separator:a43cca61de03dc6f8e87e7d218a1c0d05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac56d174390b6e62038af6fc576f9af12"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i2_d_sprite_editor.html#ac56d174390b6e62038af6fc576f9af12">OnPreviewGUI</a> (Rect rect, GUIStyle background)</td></tr>
<tr class="memdesc:ac56d174390b6e62038af6fc576f9af12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the sprite preview.  <a href="#ac56d174390b6e62038af6fc576f9af12">More...</a><br /></td></tr>
<tr class="separator:ac56d174390b6e62038af6fc576f9af12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:a35c06d59b50e1000435abc3c3a925de0 inherit pub_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a35c06d59b50e1000435abc3c3a925de0">OnSceneGUI</a> ()</td></tr>
<tr class="memdesc:a35c06d59b50e1000435abc3c3a925de0 inherit pub_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the on-screen selection, knobs, and handle all interaction logic.  <a href="#a35c06d59b50e1000435abc3c3a925de0">More...</a><br /></td></tr>
<tr class="separator:a35c06d59b50e1000435abc3c3a925de0 inherit pub_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a958717e89459bf12b637b79265de8116 inherit pub_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a958717e89459bf12b637b79265de8116">DrawWidgetTransform</a> ()</td></tr>
<tr class="memdesc:a958717e89459bf12b637b79265de8116 inherit pub_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw common widget properties that can be shown as a part of the Transform Inspector.  <a href="#a958717e89459bf12b637b79265de8116">More...</a><br /></td></tr>
<tr class="separator:a958717e89459bf12b637b79265de8116 inherit pub_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:aef2f607ac4802f87cdc1c27efbd2ea26 inherit pub_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#aef2f607ac4802f87cdc1c27efbd2ea26">OnInspectorGUI</a> ()</td></tr>
<tr class="memdesc:aef2f607ac4802f87cdc1c27efbd2ea26 inherit pub_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the inspector properties.  <a href="#aef2f607ac4802f87cdc1c27efbd2ea26">More...</a><br /></td></tr>
<tr class="separator:aef2f607ac4802f87cdc1c27efbd2ea26 inherit pub_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5cc18036ac4fd3f3d6414fe2e69082d inherit pub_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#ae5cc18036ac4fd3f3d6414fe2e69082d">DrawAnchorTransform</a> ()</td></tr>
<tr class="separator:ae5cc18036ac4fd3f3d6414fe2e69082d inherit pub_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a85f9ec49233b438339aa027ff9278c73"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i2_d_sprite_editor.html#a85f9ec49233b438339aa027ff9278c73">OnEnable</a> ()</td></tr>
<tr class="memdesc:a85f9ec49233b438339aa027ff9278c73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the initial anchor type.  <a href="#a85f9ec49233b438339aa027ff9278c73">More...</a><br /></td></tr>
<tr class="separator:a85f9ec49233b438339aa027ff9278c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cec61cee615a389cdb93315f540b3f1"><td class="memItemLeft" align="right" valign="top">override bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i2_d_sprite_editor.html#a3cec61cee615a389cdb93315f540b3f1">ShouldDrawProperties</a> ()</td></tr>
<tr class="memdesc:a3cec61cee615a389cdb93315f540b3f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Should we draw the widget's custom properties?  <a href="#a3cec61cee615a389cdb93315f540b3f1">More...</a><br /></td></tr>
<tr class="separator:a3cec61cee615a389cdb93315f540b3f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_u_i_basic_sprite_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_u_i_basic_sprite_editor')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_u_i_basic_sprite_editor.html">UIBasicSpriteEditor</a></td></tr>
<tr class="memitem:a438247a495b585eb475ca3e7693e8ff6 inherit pro_methods_class_u_i_basic_sprite_editor"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_basic_sprite_editor.html#a438247a495b585eb475ca3e7693e8ff6">DrawCustomProperties</a> ()</td></tr>
<tr class="memdesc:a438247a495b585eb475ca3e7693e8ff6 inherit pro_methods_class_u_i_basic_sprite_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw all the custom properties such as sprite type, flip setting, fill direction, etc.  <a href="#a438247a495b585eb475ca3e7693e8ff6">More...</a><br /></td></tr>
<tr class="separator:a438247a495b585eb475ca3e7693e8ff6 inherit pro_methods_class_u_i_basic_sprite_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:ae0870c4aa1d6a77dea2f2d4d37783d49 inherit pro_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ae0870c4aa1d6a77dea2f2d4d37783d49">OnDisable</a> ()</td></tr>
<tr class="memdesc:ae0870c4aa1d6a77dea2f2d4d37783d49 inherit pro_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the instance reference.  <a href="#ae0870c4aa1d6a77dea2f2d4d37783d49">More...</a><br /></td></tr>
<tr class="separator:ae0870c4aa1d6a77dea2f2d4d37783d49 inherit pro_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae48fd2be10a05dac8e67b4bf4a95b841 inherit pro_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ae48fd2be10a05dac8e67b4bf4a95b841">OnEnable</a> ()</td></tr>
<tr class="memdesc:ae48fd2be10a05dac8e67b4bf4a95b841 inherit pro_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache the reference.  <a href="#ae48fd2be10a05dac8e67b4bf4a95b841">More...</a><br /></td></tr>
<tr class="separator:ae48fd2be10a05dac8e67b4bf4a95b841 inherit pro_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1cfb4b81cc22d345b0627df56e2502 inherit pro_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#aca1cfb4b81cc22d345b0627df56e2502">DrawCustomProperties</a> ()</td></tr>
<tr class="memdesc:aca1cfb4b81cc22d345b0627df56e2502 inherit pro_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">All widgets have depth, color and make pixel-perfect options  <a href="#aca1cfb4b81cc22d345b0627df56e2502">More...</a><br /></td></tr>
<tr class="separator:aca1cfb4b81cc22d345b0627df56e2502 inherit pro_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef69c9ce97aeed758a5ae339059ead6e inherit pro_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">override void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#aef69c9ce97aeed758a5ae339059ead6e">OnDrawFinalProperties</a> ()</td></tr>
<tr class="separator:aef69c9ce97aeed758a5ae339059ead6e inherit pro_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:acea14c52e8fd47bf6fba6e3ee99f7dea inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#acea14c52e8fd47bf6fba6e3ee99f7dea">ReEvaluateAnchorType</a> ()</td></tr>
<tr class="memdesc:acea14c52e8fd47bf6fba6e3ee99f7dea inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually re-evaluate the current anchor type.  <a href="#acea14c52e8fd47bf6fba6e3ee99f7dea">More...</a><br /></td></tr>
<tr class="separator:acea14c52e8fd47bf6fba6e3ee99f7dea inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad147316feb46514a7f4907ec915d3742 inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#ad147316feb46514a7f4907ec915d3742">DrawFinalProperties</a> ()</td></tr>
<tr class="memdesc:ad147316feb46514a7f4907ec915d3742 inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the "Anchors" property block.  <a href="#ad147316feb46514a7f4907ec915d3742">More...</a><br /></td></tr>
<tr class="separator:ad147316feb46514a7f4907ec915d3742 inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a52d1b6547b00f9a9f135fe7d99750c inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">SerializedProperty&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a2a52d1b6547b00f9a9f135fe7d99750c">DrawSingleAnchorSelection</a> ()</td></tr>
<tr class="memdesc:a2a52d1b6547b00f9a9f135fe7d99750c inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a selection for a single target (one target sets all 4 sides)  <a href="#a2a52d1b6547b00f9a9f135fe7d99750c">More...</a><br /></td></tr>
<tr class="separator:a2a52d1b6547b00f9a9f135fe7d99750c inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0643c264c0f12dd72bf48c1b9affcb63 inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a0643c264c0f12dd72bf48c1b9affcb63">DrawAnchor</a> (int index, bool targetSelection)</td></tr>
<tr class="memdesc:a0643c264c0f12dd72bf48c1b9affcb63 inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function that draws the suffix after the relative fields.  <a href="#a0643c264c0f12dd72bf48c1b9affcb63">More...</a><br /></td></tr>
<tr class="separator:a0643c264c0f12dd72bf48c1b9affcb63 inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c101b94c06e18258f13638130f95c94 inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a1c101b94c06e18258f13638130f95c94">UpdateAnchors</a> (bool resetRelative)</td></tr>
<tr class="memdesc:a1c101b94c06e18258f13638130f95c94 inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that switches the anchor mode and ensures that dimensions are kept intact.  <a href="#a1c101b94c06e18258f13638130f95c94">More...</a><br /></td></tr>
<tr class="separator:a1c101b94c06e18258f13638130f95c94 inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fdcb8b078982c99077b17e727fc1d3c inherit pro_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a2fdcb8b078982c99077b17e727fc1d3c">UpdateAnchor</a> (int index, bool resetRelative)</td></tr>
<tr class="memdesc:a2fdcb8b078982c99077b17e727fc1d3c inherit pro_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that switches the anchor mode and ensures that dimensions are kept intact.  <a href="#a2fdcb8b078982c99077b17e727fc1d3c">More...</a><br /></td></tr>
<tr class="separator:a2fdcb8b078982c99077b17e727fc1d3c inherit pro_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:ad50e2c17b46cb9484174a78bc380d05c inherit pub_types_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05c">Action</a> { <a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05ca6adf97f83acf6453d4a6a4b1070f3754">Action.None</a>, 
<a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05ca6bc362dbf494c61ea117fe3c71ca48a5">Action.Move</a>, 
<a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05ca85a7cd587d6142dbfc1a4de05af7b75d">Action.Scale</a>, 
<a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05ca8d2de5368588552fbae54044ac5c7b3d">Action.Rotate</a>
 }</td></tr>
<tr class="separator:ad50e2c17b46cb9484174a78bc380d05c inherit pub_types_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:abb8bc15f7b0906840455dd40f20f0730 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#abb8bc15f7b0906840455dd40f20f0730">Raycast</a> (Vector3[] corners, out Vector3 hit)</td></tr>
<tr class="memdesc:abb8bc15f7b0906840455dd40f20f0730 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Raycast into the screen.  <a href="#abb8bc15f7b0906840455dd40f20f0730">More...</a><br /></td></tr>
<tr class="separator:abb8bc15f7b0906840455dd40f20f0730 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9565ab703e7c59c3dc09f4eb2bb9e88e inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a9565ab703e7c59c3dc09f4eb2bb9e88e">DrawKnob</a> (Vector3 point, bool selected, bool canResize, int id)</td></tr>
<tr class="memdesc:a9565ab703e7c59c3dc09f4eb2bb9e88e inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a control dot at the specified world position.  <a href="#a9565ab703e7c59c3dc09f4eb2bb9e88e">More...</a><br /></td></tr>
<tr class="separator:a9565ab703e7c59c3dc09f4eb2bb9e88e inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7480c0486b2d57838701e0030fb6477 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ae7480c0486b2d57838701e0030fb6477">GetScreenDistance</a> (Vector3 worldPos, Vector2 mousePos)</td></tr>
<tr class="memdesc:ae7480c0486b2d57838701e0030fb6477 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Screen-space distance from the mouse position to the specified world position.  <a href="#ae7480c0486b2d57838701e0030fb6477">More...</a><br /></td></tr>
<tr class="separator:ae7480c0486b2d57838701e0030fb6477 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab162886e36a99f5bc4a5af9e9d565439 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ab162886e36a99f5bc4a5af9e9d565439">GetScreenDistance</a> (Vector3[] worldPoints, Vector2 mousePos, out int index)</td></tr>
<tr class="memdesc:ab162886e36a99f5bc4a5af9e9d565439 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closest screen-space distance from the mouse position to one of the specified world points.  <a href="#ab162886e36a99f5bc4a5af9e9d565439">More...</a><br /></td></tr>
<tr class="separator:ab162886e36a99f5bc4a5af9e9d565439 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a033936aaa27ae9742354bf508ce4e953 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a033936aaa27ae9742354bf508ce4e953">SetCursorRect</a> (Rect rect, MouseCursor cursor)</td></tr>
<tr class="memdesc:a033936aaa27ae9742354bf508ce4e953 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the mouse cursor rectangle, refreshing the screen when it gets changed.  <a href="#a033936aaa27ae9742354bf508ce4e953">More...</a><br /></td></tr>
<tr class="separator:a033936aaa27ae9742354bf508ce4e953 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ea20defc30fd22d7d2bda9746895be2 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static Vector3[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a9ea20defc30fd22d7d2bda9746895be2">GetHandles</a> (Vector3[] corners)</td></tr>
<tr class="memdesc:a9ea20defc30fd22d7d2bda9746895be2 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the specified 4 corners into 8 pivot points (adding left, top, right, bottom &ndash; in that order).  <a href="#a9ea20defc30fd22d7d2bda9746895be2">More...</a><br /></td></tr>
<tr class="separator:a9ea20defc30fd22d7d2bda9746895be2 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86eb5fd3f4f06ae649acfa52418b28d inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ac86eb5fd3f4f06ae649acfa52418b28d">GetPivotUnderMouse</a> (Vector3[] worldPos, Event e, bool[] resizable, bool movable, ref <a class="el" href="class_u_i_widget_inspector.html#ad50e2c17b46cb9484174a78bc380d05c">Action</a> action)</td></tr>
<tr class="memdesc:ac86eb5fd3f4f06ae649acfa52418b28d inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine what kind of pivot point is under the mouse and update the cursor accordingly.  <a href="#ac86eb5fd3f4f06ae649acfa52418b28d">More...</a><br /></td></tr>
<tr class="separator:ac86eb5fd3f4f06ae649acfa52418b28d inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9479bbf417cdfa089e1cfd21f682d7cd inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a9479bbf417cdfa089e1cfd21f682d7cd">DrawAnchorHandle</a> (<a class="el" href="class_u_i_rect_1_1_anchor_point.html">UIRect.AnchorPoint</a> anchor, Transform myTrans, Vector3[] myCorners, int side, int id)</td></tr>
<tr class="memdesc:a9479bbf417cdfa089e1cfd21f682d7cd inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the specified anchor point.  <a href="#a9479bbf417cdfa089e1cfd21f682d7cd">More...</a><br /></td></tr>
<tr class="separator:a9479bbf417cdfa089e1cfd21f682d7cd inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c06f1d9c0d1135edc6cac85a3cdfd6 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a25c06f1d9c0d1135edc6cac85a3cdfd6">DrawColor</a> (SerializedObject so, <a class="el" href="class_u_i_widget.html">UIWidget</a> w)</td></tr>
<tr class="memdesc:a25c06f1d9c0d1135edc6cac85a3cdfd6 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the widget's color.  <a href="#a25c06f1d9c0d1135edc6cac85a3cdfd6">More...</a><br /></td></tr>
<tr class="separator:a25c06f1d9c0d1135edc6cac85a3cdfd6 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd1fc58d8a234eda015a445cb11f6f74 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#abd1fc58d8a234eda015a445cb11f6f74">DrawInspectorProperties</a> (SerializedObject so, <a class="el" href="class_u_i_widget.html">UIWidget</a> w, bool drawColor)</td></tr>
<tr class="memdesc:abd1fc58d8a234eda015a445cb11f6f74 inherit pub_static_methods_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw common widget properties.  <a href="#abd1fc58d8a234eda015a445cb11f6f74">More...</a><br /></td></tr>
<tr class="separator:abd1fc58d8a234eda015a445cb11f6f74 inherit pub_static_methods_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:a23ec1cafe9ed55d604ba2173dd7fd020 inherit pub_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a23ec1cafe9ed55d604ba2173dd7fd020">UpdateHorizontalAnchor</a> (<a class="el" href="class_u_i_rect.html">UIRect</a> r, <a class="el" href="class_u_i_rect_1_1_anchor_point.html">UIRect.AnchorPoint</a> anchor, bool resetRelative)</td></tr>
<tr class="memdesc:a23ec1cafe9ed55d604ba2173dd7fd020 inherit pub_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that switches the anchor mode and ensures that dimensions are kept intact.  <a href="#a23ec1cafe9ed55d604ba2173dd7fd020">More...</a><br /></td></tr>
<tr class="separator:a23ec1cafe9ed55d604ba2173dd7fd020 inherit pub_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a0993874f606566982aaecb1abd7fdd inherit pub_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a4a0993874f606566982aaecb1abd7fdd">UpdateVerticalAnchor</a> (<a class="el" href="class_u_i_rect.html">UIRect</a> r, <a class="el" href="class_u_i_rect_1_1_anchor_point.html">UIRect.AnchorPoint</a> anchor, bool resetRelative)</td></tr>
<tr class="memdesc:a4a0993874f606566982aaecb1abd7fdd inherit pub_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that switches the anchor mode and ensures that dimensions are kept intact.  <a href="#a4a0993874f606566982aaecb1abd7fdd">More...</a><br /></td></tr>
<tr class="separator:a4a0993874f606566982aaecb1abd7fdd inherit pub_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:a644780b9bfba56afe17a951e57e1c7e5 inherit pub_static_attribs_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static new <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a644780b9bfba56afe17a951e57e1c7e5">instance</a></td></tr>
<tr class="separator:a644780b9bfba56afe17a951e57e1c7e5 inherit pub_static_attribs_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c6bceeb6f4ffe2d6322c19698011153 inherit pub_static_attribs_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a>[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a1c6bceeb6f4ffe2d6322c19698011153">pivotPoints</a></td></tr>
<tr class="separator:a1c6bceeb6f4ffe2d6322c19698011153 inherit pub_static_attribs_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_attribs_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Static Public Attributes inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:a6211aac11a7d99d96132b7b63f97dab7 inherit pub_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a6211aac11a7d99d96132b7b63f97dab7">instance</a></td></tr>
<tr class="separator:a6211aac11a7d99d96132b7b63f97dab7 inherit pub_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_types_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_types_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:aedad8fe5cdcd34efe3031ef5f02399b1 inherit pro_types_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#aedad8fe5cdcd34efe3031ef5f02399b1">AnchorType</a> { <a class="el" href="class_u_i_rect_editor.html#aedad8fe5cdcd34efe3031ef5f02399b1a6adf97f83acf6453d4a6a4b1070f3754">AnchorType.None</a>, 
<a class="el" href="class_u_i_rect_editor.html#aedad8fe5cdcd34efe3031ef5f02399b1a1dbd464eef96e9cc4151734185a50c7a">AnchorType.Unified</a>, 
<a class="el" href="class_u_i_rect_editor.html#aedad8fe5cdcd34efe3031ef5f02399b1a9b6545e4cea9b4ad4979d41bb9170e2b">AnchorType.Advanced</a>
 }</td></tr>
<tr class="separator:aedad8fe5cdcd34efe3031ef5f02399b1 inherit pro_types_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_methods_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Static Protected Member Functions inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:a619d77927cdc1ef358c243364a8ff829 inherit pro_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a619d77927cdc1ef358c243364a8ff829">IsCommon</a> (float relative)</td></tr>
<tr class="memdesc:a619d77927cdc1ef358c243364a8ff829 inherit pro_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the specified relative offset is a common value (0, 0.5, or 1)  <a href="#a619d77927cdc1ef358c243364a8ff829">More...</a><br /></td></tr>
<tr class="separator:a619d77927cdc1ef358c243364a8ff829 inherit pro_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae006062c9458df12df668145efa3b62b inherit pro_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#ae006062c9458df12df668145efa3b62b">IsRect</a> (SerializedProperty sp)</td></tr>
<tr class="memdesc:ae006062c9458df12df668145efa3b62b inherit pro_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 'true' if the specified serialized property reference is a <a class="el" href="class_u_i_rect.html" title="Abstract UI rectangle containing functionality common to both panels and widgets. A UI rectangle cont...">UIRect</a>.  <a href="#ae006062c9458df12df668145efa3b62b">More...</a><br /></td></tr>
<tr class="separator:ae006062c9458df12df668145efa3b62b inherit pro_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40d87614a7251a5cb187c0e012e7a5cb inherit pro_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_rect.html">UIRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a40d87614a7251a5cb187c0e012e7a5cb">GetRect</a> (SerializedProperty sp)</td></tr>
<tr class="memdesc:a40d87614a7251a5cb187c0e012e7a5cb inherit pro_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pass something like leftAnchor.target to get its rectangle reference.  <a href="#a40d87614a7251a5cb187c0e012e7a5cb">More...</a><br /></td></tr>
<tr class="separator:a40d87614a7251a5cb187c0e012e7a5cb inherit pro_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb1ffb75518c89980f77f550a921cb6c inherit pro_static_methods_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static Camera&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#afb1ffb75518c89980f77f550a921cb6c">GetCamera</a> (SerializedProperty sp)</td></tr>
<tr class="memdesc:afb1ffb75518c89980f77f550a921cb6c inherit pro_static_methods_class_u_i_rect_editor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pass something like leftAnchor.target to get its rectangle reference.  <a href="#afb1ffb75518c89980f77f550a921cb6c">More...</a><br /></td></tr>
<tr class="separator:afb1ffb75518c89980f77f550a921cb6c inherit pro_static_methods_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:a06846897c333c4eaf1e5852475894e77 inherit pro_attribs_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a06846897c333c4eaf1e5852475894e77">mWidget</a></td></tr>
<tr class="separator:a06846897c333c4eaf1e5852475894e77 inherit pro_attribs_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:a638ba3d565a265117d6bdc73bfb3f59a inherit pro_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_rect_editor.html#aedad8fe5cdcd34efe3031ef5f02399b1">AnchorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a638ba3d565a265117d6bdc73bfb3f59a">mAnchorType</a> = AnchorType.None</td></tr>
<tr class="separator:a638ba3d565a265117d6bdc73bfb3f59a inherit pro_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2324ca29b2e737b9c2e72e18a5938d9e inherit pro_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">Transform[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a2324ca29b2e737b9c2e72e18a5938d9e">mTarget</a> = new Transform[4]</td></tr>
<tr class="separator:a2324ca29b2e737b9c2e72e18a5938d9e inherit pro_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399b2efa84fbfc9da07c94a9fc7b9c83 inherit pro_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">bool[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a399b2efa84fbfc9da07c94a9fc7b9c83">mCustom</a> = new bool[] { false, false, false, false }</td></tr>
<tr class="separator:a399b2efa84fbfc9da07c94a9fc7b9c83 inherit pro_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:a6218cc1f307a548a55a7f7dcdb937cec inherit pro_static_attribs_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#a6218cc1f307a548a55a7f7dcdb937cec">mUseShader</a> = false</td></tr>
<tr class="separator:a6218cc1f307a548a55a7f7dcdb937cec inherit pro_static_attribs_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_u_i_rect_editor"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_u_i_rect_editor')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_u_i_rect_editor.html">UIRectEditor</a></td></tr>
<tr class="memitem:a1142db756d3cece95636fcfcc1e54532 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static string[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a1142db756d3cece95636fcfcc1e54532">PrefixName</a> = new string[] { &quot;Left&quot;, &quot;Right&quot;, &quot;Bottom&quot;, &quot;Top&quot; }</td></tr>
<tr class="separator:a1142db756d3cece95636fcfcc1e54532 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3f80b18e32c76dd7f0e8b8d438ad383 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static string[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#ab3f80b18e32c76dd7f0e8b8d438ad383">FieldName</a> = new string[] { &quot;leftAnchor&quot;, &quot;rightAnchor&quot;, &quot;bottomAnchor&quot;, &quot;topAnchor&quot; }</td></tr>
<tr class="separator:ab3f80b18e32c76dd7f0e8b8d438ad383 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a710402f37f352018c9ee40ced947be6c inherit pro_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static string[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a710402f37f352018c9ee40ced947be6c">HorizontalList</a> = new string[] { &quot;Target's Left&quot;, &quot;Target's Center&quot;, &quot;Target's Right&quot;, &quot;Custom&quot;, &quot;Set to Current Position&quot; }</td></tr>
<tr class="separator:a710402f37f352018c9ee40ced947be6c inherit pro_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41e8cadfc601606b1d8a1d8a0e7d30a3 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static string[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#a41e8cadfc601606b1d8a1d8a0e7d30a3">VerticalList</a> = new string[] { &quot;Target's Bottom&quot;, &quot;Target's Center&quot;, &quot;Target's Top&quot;, &quot;Custom&quot;, &quot;Set to Current Position&quot; }</td></tr>
<tr class="separator:a41e8cadfc601606b1d8a1d8a0e7d30a3 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf37d3e3cb034d75083daff59acbd5c5 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memItemLeft" align="right" valign="top">static bool[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_rect_editor.html#acf37d3e3cb034d75083daff59acbd5c5">IsHorizontal</a> = new bool[] { true, true, false, false }</td></tr>
<tr class="separator:acf37d3e3cb034d75083daff59acbd5c5 inherit pro_static_attribs_class_u_i_rect_editor"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_class_u_i_widget_inspector"><td colspan="2" onclick="javascript:toggleInherit('properties_class_u_i_widget_inspector')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_u_i_widget_inspector.html">UIWidgetInspector</a></td></tr>
<tr class="memitem:ac0b60a7a915455b070830492150ed48f inherit properties_class_u_i_widget_inspector"><td class="memItemLeft" align="right" valign="top">static Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_widget_inspector.html#ac0b60a7a915455b070830492150ed48f">handlesColor</a><code> [get]</code></td></tr>
<tr class="memdesc:ac0b60a7a915455b070830492150ed48f inherit properties_class_u_i_widget_inspector"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color used by the handles based on the current color scheme.  <a href="#ac0b60a7a915455b070830492150ed48f">More...</a><br /></td></tr>
<tr class="separator:ac0b60a7a915455b070830492150ed48f inherit properties_class_u_i_widget_inspector"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Inspector class used to edit UITextures. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a43cca61de03dc6f8e87e7d218a1c0d05"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override bool UI2DSpriteEditor.HasPreviewGUI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allow the texture to be previewed. </p>

</div>
</div>
<a class="anchor" id="a85f9ec49233b438339aa027ff9278c73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override void UI2DSpriteEditor.OnEnable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine the initial anchor type. </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect_editor.html#ab0dfd4816b4b84faad3fbeec3acfa7c7">UIRectEditor</a>.</p>

</div>
</div>
<a class="anchor" id="ac56d174390b6e62038af6fc576f9af12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override void UI2DSpriteEditor.OnPreviewGUI </td>
          <td>(</td>
          <td class="paramtype">Rect&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GUIStyle&#160;</td>
          <td class="paramname"><em>background</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw the sprite preview. </p>

</div>
</div>
<a class="anchor" id="a3cec61cee615a389cdb93315f540b3f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override bool UI2DSpriteEditor.ShouldDrawProperties </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Should we draw the widget's custom properties? </p>

<p>Reimplemented from <a class="el" href="class_u_i_rect_editor.html#a0272d09ec9a6c4faea17f9b212bfa7af">UIRectEditor</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Editor/<a class="el" href="_u_i2_d_sprite_editor_8cs.html">UI2DSpriteEditor.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i2_d_sprite_editor.html">UI2DSpriteEditor</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:17 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
